home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / pref-offline.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-01-17  |  4.7 KB  |  127 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.  
  6.  The contents of this file are subject to the Mozilla Public License Version
  7.  1.1 (the "License"); you may not use this file except in compliance with
  8.  the License. You may obtain a copy of the License at
  9.  http://www.mozilla.org/MPL/
  10.  
  11.  Software distributed under the License is distributed on an "AS IS" basis,
  12.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.  for the specific language governing rights and limitations under the
  14.  License.
  15.  
  16.  The Original Code is Mozilla Communicator client code, released
  17.  March 31, 1998.
  18.  
  19.  The Initial Developer of the Original Code is
  20.  Netscape Communications Corporation.
  21.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  22.  the Initial Developer. All Rights Reserved.
  23.  
  24.  Contributor(s):
  25.    Mohan Bhamidipati (mohanb@netscape.com)
  26.    Diego Biurrun     (diego@biurrun.de)
  27.    David Bienvenu    (bienvenu@nventure.com)
  28.    Ian Neal          (bugzilla@arlen.demon.co.uk)
  29.  
  30.  Alternatively, the contents of this file may be used under the terms of
  31.  either of the GNU General Public License Version 2 or later (the "GPL"),
  32.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  33.  in which case the provisions of the GPL or the LGPL are applicable instead
  34.  of those above. If you wish to allow use of your version of this file only
  35.  under the terms of either the GPL or the LGPL, and not to allow others to
  36.  use your version of this file under the terms of the MPL, indicate your
  37.  decision by deleting the provisions above and replace them with the notice
  38.  and other provisions required by the GPL or the LGPL. If you do not delete
  39.  the provisions above, a recipient may use your version of this file under
  40.  the terms of any one of the MPL, the GPL or the LGPL.
  41.  
  42.  ***** END LICENSE BLOCK ***** -->
  43.  
  44. <?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
  45.  
  46. <!DOCTYPE page SYSTEM "chrome://messenger/locale/pref-offline.dtd">
  47.  
  48. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  49.       onload="parent.initPanel('chrome://messenger/content/pref-offline.xul');"
  50.       headertitle="&boxHeader;">
  51.  
  52.   <script type="application/x-javascript">
  53.   <![CDATA[
  54.     var _elementIDs = ["whenStartingUp", "whengoingOnlinestate", "whengoingOfflinestate", "offlineCompactFolder", "offlineCompactFolderMin"];
  55.  
  56.   function Startup()
  57.   {
  58.     enableField(document.getElementById("offlineCompactFolder"), false);
  59.   }
  60.  
  61.   function enableField(aCheckbox, setFocus)
  62.   {
  63.     var folderMin = document.getElementById("offlineCompactFolderMin");
  64.     folderMin.disabled = (!aCheckbox.checked ||
  65.                           parent.hPrefWindow.getPrefIsLocked(folderMin.getAttribute("prefstring")));
  66.  
  67.     if (!folderMin.disabled && setFocus)
  68.       folderMin.focus();
  69.   }
  70.   ]]>
  71.   </script>
  72.  
  73. <groupbox>
  74.   <caption label="&rHeader;"/>
  75.  
  76.   <label value="&textStartUp;"/>
  77.     <radiogroup id="whenStartingUp" class="indent"
  78.                 prefstring="offline.startup_state">
  79.       <radio value="0" label="&radioRememberPrevState;"
  80.              accesskey="&radioRememberPrevState.accesskey;"/>
  81.       <radio value="1" label="&radioAskMe;"
  82.              accesskey="&radioAskMe.accesskey;"/>
  83.     </radiogroup>
  84.  
  85.   <separator/>
  86.  
  87.   <label value="&textGoingOnline;"/>
  88.     <radiogroup id="whengoingOnlinestate"
  89.                 orient="horizontal" class="indent"
  90.                 prefstring="offline.send.unsent_messages">
  91.       <radio value="1" label="&radioAutoSend;"
  92.              accesskey="&radioAutoSend.accesskey;"/>
  93.       <radio value="2" label="&radioNotSend;"
  94.              accesskey="&radioNotSend.accesskey;"/>
  95.       <radio value="0" label="&radioAskUnsent;"
  96.              accesskey="&radioAskUnsent.accesskey;"/>
  97.     </radiogroup>
  98.  
  99.   <separator/>
  100.  
  101.   <label value="&textGoingOffline;"/>
  102.     <radiogroup id="whengoingOfflinestate"
  103.                 orient="horizontal" class="indent"
  104.                 prefstring="offline.download.download_messages">
  105.       <radio value="1" label="&radioAutoDownload;"
  106.              accesskey="&radioAutoDownload.accesskey;"/>
  107.       <radio value="2" label="&radioNotDownload;"
  108.              accesskey="&radioNotDownload.accesskey;"/>
  109.       <radio value="0" label="&radioAskDownload;"
  110.              accesskey="&radioAskDownload.accesskey;"/>
  111.     </radiogroup>
  112.  
  113. </groupbox>
  114.  
  115. <groupbox>
  116.   <caption label="&Diskspace;"/>
  117.   <hbox align="center">
  118.     <checkbox id="offlineCompactFolder" label="&offlineCompact.label;" accesskey="&offlineCompact.accesskey;"
  119.       prefstring="mail.prompt_purge_threshhold"
  120.       oncommand="enableField(this, true);"/> 
  121.     <textbox id="offlineCompactFolderMin" size="5" value="100"
  122.       preftype="int" prefstring="mail.purge_threshhold"/>
  123.     <label value="&kb.label;"/>
  124.   </hbox>
  125. </groupbox>
  126. </page>
  127.